/*
 * Copyright (c) 2025 Sailing
 *
 * SPDX-License-Identifier: BSD-3-Clause
 *
 */
#include <stdint.h>
#define BLOCK_ERASE_CMD 0xD8U

typedef struct _jedec_nand{
    bool (*spi_function)(uint8_t* write_buf,uint8_t* read_buf,uint32_t write_count,uint32_t read_count,uint8_t dummy_count);
}jedec_nand_handle_t;


